package com.cbgolf.oa.contract;

import com.cbgolf.oa.BasePresenter;
import com.cbgolf.oa.base.IBaseView;
import com.cbgolf.oa.entity.Beans;
import com.cbgolf.oa.event.Events;
import com.cbgolf.oa.waiter.IBaseWaiter;

/**
 * Author: lq
 * Created on 2018/6/5
 * @author lq
 */
public interface ICloseParkContract {

  interface View extends IBaseView<Events> {
    //TODO add abstract method related with view
  }

  interface Presenter extends BasePresenter<View> {
    //TODO add abstract method for Presenter
    void addClosePark(Beans beans);
    void cancelClosePark(String id);
  }

  interface Model {
    //TODO add abstract method for Model
    void addClosePark(Beans beans);
    void cancelClosePark(String id);
  }

  interface Waiter extends IBaseWaiter {

    void addClosePark(Beans beans);
    void cancelClosePark(String id);
    void cancelSuccess();
    void addSuccess();
  }
}